package com.sunkingdom.qq.user.dao.impl;

import java.util.List;

import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunkingdom.qq.user.dao.IUserDao;
import com.sunkingdom.qq.user.entity.User;

@Repository
public class UserDaoMysqlImpl implements IUserDao {
	@Autowired
	private SqlSession sqlSession;

	@Override
	public List<User> selectUser() {
		return sqlSession
				.selectList("com.sunkingdom.qq.mapper.UserMapper.selectUsers");

	}
}
